//
//  LoginChooseModel.m
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/10/9.
//  Copyright © 2017年 bob. All rights reserved.
//

#import "LoginChooseModel.h"
#import "JobModel.h"
@implementation LoginChooseModel

-(instancetype)init
{
    if (self=[super init]) {
        
        self.jobArr=[NSMutableArray array];
        
        for (NSInteger i=0; i<4; i++) {
            
            JobModel *model=[JobModel new];
            
            switch (i) {
                case 0:
                {
                    model.JobName=@"商户";
                    model.jobType=i+1;
                }
                    break;
                    
                case 1:
                {
                    model.JobName=@"检查员";
                    model.jobType=i+1;
                }
                    break;
                    
                case 2:
                {
                    model.JobName=@"开办方";
                    model.jobType=i+1;
                }
                    break;
                    
                case 3:
                {
                    model.JobName=@"管理员";
                    model.jobType=i+1;
                }
                    break;
                    
                default:
                    break;
            }
            
            [self.jobArr addObject:model];
            
        }
        
    }
    
    return self;
}

@end
